/*
 * @Autor: Gct
 * @Description: 系统配置api
 * @Date: 2022-04-20 17:12:44
 * @LastEditors: Gct
 * @LastEditTime: 2022-04-20 17:15:46
 */
import {get,post} from "@/utils/request"
/**
 * @description: 查询所有配置信息
 * @param {*}
 * @return {*}
 * @author: Gct
 */
export function findAll(){
  return get('/baseConfig/findAll')
}
/**
 * @description: 根据id删除
 * @param {*}
 * @return {*}
 * @author: Gct
 */
export function deleteById(data){
  return get('/baseConfig/deleteById',data)
}
/**
 * @description: 保存和更新配置信息
 * @param {*}
 * @return {*}
 * @author: Gct
 */
 export function saveOrUpdate(data){
  return post('/baseConfig/saveOrUpdate',data)
}